﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ExportUC.ascx.cs" Inherits="ERP.PageUC.ExportUC" %>
<asp:UpdatePanel ID="upNewUpdatePanel" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
    <ContentTemplate>
        <div class="btn-toolbar">
            <asp:Button ID="btnSavePopup" CssClass="btn-save btn-default" title="Lưu lại" runat="server" OnClick="btnSavePopup_Click" />
            &nbsp;
            <asp:Button ID="btnReloadPopup" CssClass="btn-reload btn-default" title="Tải lại" runat="server" OnClick="btnReloadPopup_Click" />
            &nbsp;
            <input type="hidden" id="lbID" runat="server" /><label class="validateTips"></label>
            <asp:UpdateProgress ID="upDateProcessUC" runat="server" AssociatedUpdatePanelID="upNewUpdatePanel">
                <ProgressTemplate>
                    <span class="label label-warning">Đang tải..</span>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </div>
        <div class="ui-main">
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Chứng từ <span style="color: Red">(*)</span></label>
                <br />
                <asp:TextBox ID="txtChungTu" CssClass="textbox_child_text" runat="server" data-allow="add"></asp:TextBox>
            </div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Ngày <span style="color: Red">(*)</span></label>
                <br />
                <asp:TextBox ID="txtNgay" CssClass="textbox_child_text_ngay" runat="server"></asp:TextBox>
            </div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Khách hàng <span style="color: Red">(*)</span></label>
                <br />
                <asp:TextBox ID="txtKhachHang" CssClass="textbox_child_text" runat="server"></asp:TextBox>
            </div>
            <div class="clr"></div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Vật tư <span style="color: Red">(*)</span></label>
                <br />
                <asp:DropDownList ID="drVatTu" AutoPostBack="True" AppendDataBoundItems="true" CssClass="textbox_child_text" runat="server" OnSelectedIndexChanged="drVatTu_SelectedIndexChanged"></asp:DropDownList>
            </div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Đơn vị tính</label>
                <br />
                <asp:DropDownList ID="drDVT" Enabled="False" AppendDataBoundItems="true" CssClass="textbox_child_text" runat="server"></asp:DropDownList>
            </div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Số lượng <span style="color: Red">(*)</span></label>
                <br />
                <asp:TextBox ID="txtSoLuong" CssClass="textbox_child_text" runat="server"></asp:TextBox>
            </div>
            <div class="clr"></div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Đơn giá <span style="color: Red">(*)</span></label>
                <br />
                <asp:TextBox ID="txtDonGia" CssClass="textbox_child_text" runat="server"></asp:TextBox>
            </div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Chi nhánh <span style="color: Red">(*)</span></label>
                <br />
                <asp:DropDownList ID="drChiNhanh" AutoPostBack="True" AppendDataBoundItems="true" CssClass="textbox_child_text" runat="server" OnSelectedIndexChanged="drChiNhanh_SelectedIndexChanged"></asp:DropDownList>
            </div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Kho <span style="color: Red">(*)</span></label>
                <br />
                <asp:DropDownList ID="drKho" AutoPostBack="True" AppendDataBoundItems="true" CssClass="textbox_child_text" runat="server" Enabled="False" OnSelectedIndexChanged="drKho_SelectedIndexChanged"></asp:DropDownList>
            </div>
            <div class="clr"></div>
            <div class="ui-box-text-box">
                <a class="relationlink">...</a>
                <label class="labelpopup">Phòng Chứa <span style="color: Red">(*)</span></label>
                <br />
                <asp:DropDownList ID="drPhongChua" AutoPostBack="True" AppendDataBoundItems="true" CssClass="textbox_child_text" runat="server" Enabled="False"></asp:DropDownList>
            </div>
            <div class="ui-box-text-box">
                <label class="labelpopup" style="text-align: center">
                    Ghi chú 
                </label>
                <br />
                <asp:TextBox ID="txtGhiChu" CssClass="textbox-muiti" runat="server" TextMode="MultiLine"></asp:TextBox>
            </div>
            <div class="clr"></div>
        </div>
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnSavePopup" EventName="Click" />
    </Triggers>
</asp:UpdatePanel>